import request from '@/utils/request'

// 首页-域名统计
export function getDomainStat(data) {
  return request({
    url: '/support/index/asset/getDomainStat',
    method: 'post',
    data
  })
}
// 首页-系统统计
export function getSystemStat(data) {
  return request({
    url: '/support/index/asset/getSystemStat',
    method: 'post',
    data
  })
}
// 首页-安全通报率
export function getNotifyStat(data) {
  return request({
    url: '/support/index/asset/getNotifyStat',
    method: 'post',
    data
  })
}
// 首页-APP统计
export function getAppStat(data) {
  return request({
    url: '/support/index/asset/getAppStat',
    method: 'post',
    data
  })
}
// 首页-小程序统计
export function getAppletStat(data) {
  return request({
    url: '/support/index/asset/getAppletStat',
    method: 'post',
    data
  })
}

// 首页-纳管单位统计
export function getEnterpriseStat(data) {
  return request({
    url: '/support/index/asset/getEnterpriseStat',
    method: 'post',
    data
  })
}

// 首页-核查任务统计
export function getCheckTaskStat(data) {
  return request({
    url: '/support/index/asset/getCheckTaskStat',
    method: 'post',
    data
  })
}

// 首页-按核查任务类型统计
export function getCheckTaskTypeStat(data) {
  return request({
    url: '/support/index/asset/getCheckTaskTypeStat',
    method: 'post',
    data
  })
}

// 首页-系统测评统计
export function getSystemTestStat(data) {
  return request({
    url: '/support/index/asset/getSystemEvalStat',
    method: 'post',
    data
  })
}
// 首页-企业备案统计
export function getEnterpriseRecordStat(data) {
  return request({
    url: '/support/index/asset/getEnterpriseRecordStat',
    method: 'post',
    data
  })
}
// 首页-支撑单位综合排名接口
export function getSupportUnitRanking(data) {
  return request({
    url: '/manage/index/asset/getSupportUnitRanking',
    method: 'post',
    data
  })
}
// 首页-公共企业搜索接口
export function simpleSearchEnterprise(data) {
  return request({
    url: '\/common/simpleSearchEnterprise',
    method: 'post',
    data
  })
}

/**审核端 */
// 首页-纳管单位统计
export function manageGetEnterpriseStat(data) {
  return request({
    url: '/manage/index/asset/getEnterpriseStat',
    method: 'post',
    data
  })
}
// 首页-域名统计
export function manageGetDomainStat(data) {
  return request({
    url: '/manage/index/asset/getDomainStat',
    method: 'post',
    data
  })
}
// 首页-系统统计
export function manageGetSystemStat(data) {
  return request({
    url: '/manage/index/asset/getSystemStat',
    method: 'post',
    data
  })
}
// 首页-安全通报率【废弃】
export function manageGetNotifyStat(data) {
  return request({
    url: '/manage/index/asset/getNotifyStat',
    method: 'post',
    data
  })
}
// 首页-数据总览
export function manageGetEnterpriseOverview(data) {
  return request({
    url: '/manage/index/asset/getEnterpriseOverview',
    method: 'post',
    data
  })
}
// 首页-APP统计
export function manageGetAppStat(data) {
  return request({
    url: '/manage/index/asset/getAppStat',
    method: 'post',
    data
  })
}
// 首页-小程序统计
export function manageGetAppletStat(data) {
  return request({
    url: '/manage/index/asset/getAppletStat',
    method: 'post',
    data
  })
}
// 首页-核查任务统计
export function manageGetCheckTaskStat(data) {
  return request({
    url: '/manage/index/asset/getCheckTaskStat',
    method: 'post',
    data
  })
}
// 首页-资产情报数量统计
export function manageGetIntelligenceStat(data) {
  return request({
    url: '/manage/index/asset/getIntelligenceStat',
    method: 'post',
    data
  })
}
// 首页-支撑单位核查任务完成统计
export function manageGetSupportUnitRateStat(data) {
  return request({
    url: '/manage/index/asset/getSupportUnitRateStat',
    method: 'post',
    data
  })
}
// 首页-核查任务完成率统计
export function manageGetCheckTaskTypeRateStat(data) {
  return request({
    url: '/manage/index/asset/getCheckTaskTypeRateStat',
    method: 'post',
    data
  })
}
// 首页-系统测评统计
export function manageGetSystemTestStat(data) {
  return request({
    url: '/manage/index/asset/getSystemEvalStat',
    method: 'post',
    data
  })
}
// 首页-企业备案统计
export function manageGetEnterpriseRecordStat(data) {
  return request({
    url: '/manage/index/asset/getEnterpriseRecordStat',
    method: 'post',
    data
  })
}
// 首页-支撑单位综合排名接口
export function manageGetSupportUnitRanking(data) {
  return request({
    url: '/manage/index/asset/getSupportUnitRanking',
    method: 'post',
    data
  })
}

// 首页-支撑单位排名，总得分，未出现通报率接口
export function getSupportUnitSelfRanking(data) {
  return request({
    url: '/support/index/asset/getSupportUnitSelfRanking',
    method: 'post',
    data
  })
}